package com.haoshuang.zhouzhoubang.utils;

import android.content.Context
import android.widget.TextView

import java.util.*

/**
 * Copyright (c)
 * @Description
 * @Author ("")
 * @Copyright Copyright (c)
 * @Date 2019
 * @CreateBy android_studio
 * @Remarks
 */
class TimeCheckUtils {

    /**
     * 现在到以后时间选择
     */
    fun getTime(cotext: Context,  callBack: TimeCallBack) {
        TimeGetData(cotext).getTimeDate(callBack)
    }
    fun Choose(cotext: Context,options1Items: ArrayList<String>, tv_fx: TextView?,  callBack: TimeCallBack,str:String) {
        TimeGetData(cotext).Choose(options1Items,tv_fx,callBack,str)
    }

    companion object {

        private var utils: TimeCheckUtils? = null

        fun newInstance(): TimeCheckUtils {
            if (null == utils) {
                utils = TimeCheckUtils()
            }

            return utils as TimeCheckUtils
        }
    }


}
